Matthias Clasen [Sun, 6 Sep 2020 13:25:43 +0000 (13:25 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
See merge request GNOME/gtk!2535
Alexandre Franke [Sun, 6 Sep 2020 12:44:35 +0000 (12:44 +0000)]
Update French translation
Matthias Clasen [Sun, 6 Sep 2020 12:42:27 +0000 (08:42 -0400)]
gtk-demo: Add some comments
Add some comments to the math in the transforms demo.
Asier Sarasua Garmendia [Sun, 6 Sep 2020 09:01:32 +0000 (09:01 +0000)]
Update Basque translation
Kukuh Syafaat [Sun, 6 Sep 2020 05:16:58 +0000 (05:16 +0000)]
Update Indonesian translation
Matthias Clasen [Sun, 6 Sep 2020 02:54:16 +0000 (22:54 -0400)]
gtk-demo: Simplify the constraints demos
Give them all a close button in the header.
Matthias Clasen [Sun, 6 Sep 2020 02:35:30 +0000 (22:35 -0400)]
inspector: Fix teardown of the general tab
We were connecting signal handlers to the display
and seats here, and never cleaning them up, leading
to crashes after the inspector is closed. This is
fairly easy to reproduce under Wayland, where the
scroll device is only created the first time we
create a scroll event.
Goran Vidović [Sat, 5 Sep 2020 20:45:50 +0000 (20:45 +0000)]
Update Croatian translation
Aurimas Černius [Sat, 5 Sep 2020 16:57:34 +0000 (19:57 +0300)]
Updated Lithuanian translation
Matthias Clasen [Sat, 5 Sep 2020 16:00:33 +0000 (16:00 +0000)]
Merge branch 'revert-
43ca43a22f' into 'master'
Revert "Adwaita: rich-list styling"
See merge request GNOME/gtk!2533
Matthias Clasen [Sat, 5 Sep 2020 14:49:10 +0000 (14:49 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3122
See merge request GNOME/gtk!2534
nana-4 [Tue, 1 Sep 2020 13:31:44 +0000 (22:31 +0900)]
Revert "Adwaita: rich-list styling"
This reverts commit
2f0a4c7128ac31541c830b7ed223ce6417964bff.
It seems the commit was accidentally added when
768e24afc1fc5ba1bdf63a3d438f66524b3b2e92 was manually merged and pushed.
Matthias Clasen [Sat, 5 Sep 2020 13:54:18 +0000 (13:54 +0000)]
Merge branch 'typo_correction' into 'master'
Typo correction
Closes #3086 and #3090
See merge request GNOME/gtk!2532
Matthias Clasen [Sat, 5 Sep 2020 13:51:59 +0000 (09:51 -0400)]
css: Use an array when parsing selectors
There's no need for us to have a hard size-limit here;
with GdkArray we don't have to give up on stack-preallocation
either.
Emin Tufan Çetin [Sat, 5 Sep 2020 12:45:24 +0000 (12:45 +0000)]
Update Turkish translation
Matthias Clasen [Sat, 5 Sep 2020 12:38:18 +0000 (08:38 -0400)]
text: Don't replace unselected text with Emoji
We must be careful to not select everything on focus-in
before we have the Emoji inserted. This was accidentally
broken in
d5121af876032af09bd9.
Fixes: #3122
Yuri Chornoivan [Sat, 5 Sep 2020 12:29:46 +0000 (12:29 +0000)]
Update Ukrainian translation
Ahmed Eldemery [Sat, 5 Sep 2020 11:49:01 +0000 (13:49 +0200)]
add a missing comma
Ahmed Eldemery [Sat, 5 Sep 2020 11:46:27 +0000 (13:46 +0200)]
Merge remote-tracking branch 'upstream/master' into master
Piotr Drąg [Sat, 5 Sep 2020 11:27:57 +0000 (13:27 +0200)]
Update Polish translation
Piotr Drąg [Sat, 5 Sep 2020 09:53:39 +0000 (11:53 +0200)]
Update POTFILES.in
Matthias Clasen [Fri, 4 Sep 2020 17:57:23 +0000 (17:57 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
See merge request GNOME/gtk!2531
Matthias Clasen [Fri, 4 Sep 2020 17:40:10 +0000 (13:40 -0400)]
layoutmanager demo: Make icons come out upright
Rearrange the vertices so that the icons show
up in the proper orientation.
Matthias Clasen [Fri, 4 Sep 2020 15:47:43 +0000 (11:47 -0400)]
modelbutton: Claim the gesture
This aligns the model button behavior with what
GtkButton does.
Matej Urbančič [Fri, 4 Sep 2020 15:30:55 +0000 (17:30 +0200)]
Updated Slovenian translation
Matthias Clasen [Fri, 4 Sep 2020 15:30:35 +0000 (15:30 +0000)]
Merge branch 'release-script' into 'master'
Release script
See merge request GNOME/gtk!2530
Benjamin Otte [Fri, 4 Sep 2020 14:40:36 +0000 (14:40 +0000)]
Merge branch 'demo_css_pixbufs_fix' into 'master'
gtk-demo: Fix CSS in pixbufs demo
See merge request GNOME/gtk!2529
Matthias Clasen [Fri, 4 Sep 2020 13:56:10 +0000 (09:56 -0400)]
build: Add a release script
I've goofed up too many times producing the separate
doc tarballs. So lets collect the required steps in a script.
Björn Daase [Fri, 4 Sep 2020 14:14:09 +0000 (16:14 +0200)]
gtk-demo: Fix CSS in pixbufs demo
Matthias Clasen [Fri, 4 Sep 2020 13:52:37 +0000 (09:52 -0400)]
build: Move the gtk-doc dep to the toplevel
We want to include the gtk-doc subproject in release
tarballs, using --include-subprojects, but that only
works if we've actually built the subproject. And
enabling gtk-doc for dist builds is problematic -
it tends to break meson dist.
So declare the gtk-doc dependency independent of
-Dgtk_doc, and use --force-fallback-for for it.
Dušan Kazik [Fri, 4 Sep 2020 12:42:52 +0000 (12:42 +0000)]
Update Slovak translation
Matthias Clasen [Fri, 4 Sep 2020 12:32:40 +0000 (12:32 +0000)]
Merge branch 'fix-gtk-application-menu-example' into 'master'
GtkApplicationWindow: Fix menubar example
See merge request GNOME/gtk!2528
Emmanuele Bassi [Fri, 4 Sep 2020 11:56:03 +0000 (11:56 +0000)]
Merge branch 'ebassi/for-master' into 'master'
Ebassi/for master
Closes #3118
See merge request GNOME/gtk!2527
Emmanuel Gil Peyrot [Fri, 4 Sep 2020 11:49:28 +0000 (13:49 +0200)]
GtkApplicationWindow: Fix menubar example
This example was using invalid attribute syntax.
Emmanuele Bassi [Fri, 4 Sep 2020 11:05:01 +0000 (12:05 +0100)]
Use consistent argument name
Declarations, definitions, and gtk-doc stanzas should use the same name
for arguments. Otherwise both g-ir-scanner and gtk-doc will complain
that they can't find the argument.
Emmanuele Bassi [Fri, 4 Sep 2020 11:02:15 +0000 (12:02 +0100)]
build: Make sysprof truly optional
We are falling back to the sysprof subproject even if sysprof support
has been explicitly disabled.
Fixes: #3118
Emmanuele Bassi [Fri, 4 Sep 2020 10:49:50 +0000 (10:49 +0000)]
Merge branch 'fix-vulkan-dependency-searching' into 'master'
meson: Fix Vulkan dependency checking
Closes #3108
See merge request GNOME/gtk!2526
Chun-wei Fan [Fri, 4 Sep 2020 09:24:57 +0000 (17:24 +0800)]
gdksurface-win32.c: Fix missed include
We need to include gdkdevice-win32.h for gdksurface-win32.c
Nirbheek Chauhan [Fri, 4 Sep 2020 06:02:35 +0000 (11:32 +0530)]
meson: Fix Vulkan dependency checking
The dependency block was completely wrong. It was:
1. Not searching for the lib manually when -Dvulkan=enabled (default).
The else block was only hit when -Dvulkan=auto.
2. Unconditionally searching for the vulkan library in the else block
when -Dvulkan=disabled
The manual searching is also not required because Meson has a custom
'vulkan' dependency class that already supports Windows, and is more
correct than the code here. Specifically, the current code does not
support picking up the Vulkan SDK from a custom path.
Fixes #3108
Jordi Mas [Fri, 4 Sep 2020 04:26:23 +0000 (06:26 +0200)]
Update Catalan translation
Ahmed Eldemery [Thu, 3 Sep 2020 18:24:26 +0000 (20:24 +0200)]
Merge remote-tracking branch 'upstream/master' into master
Matthias Clasen [Thu, 3 Sep 2020 17:47:10 +0000 (13:47 -0400)]
3.99.1
Matthias Clasen [Thu, 3 Sep 2020 18:18:41 +0000 (14:18 -0400)]
gridview: Make constructor arguments nullable
I forgot to adjust the precondition when copying things
around.
Matthias Clasen [Thu, 3 Sep 2020 14:49:31 +0000 (14:49 +0000)]
Merge branch 'layout-manager-transform-demo' into 'master'
Layout manager transform demo
See merge request GNOME/gtk!2519
Matthias Clasen [Thu, 27 Aug 2020 11:16:38 +0000 (07:16 -0400)]
Add another layout manager demo
This demo uses transforms to place icons on a sphere.
Matthias Clasen [Wed, 2 Sep 2020 02:32:02 +0000 (22:32 -0400)]
Cosmetic improvement to the layout manager demo
Give this a better title, since we will have more
than one layout manager demo soon.
Matthias Clasen [Wed, 2 Sep 2020 16:52:35 +0000 (12:52 -0400)]
Add a simple testcase for transforms
This can help in tracking various things down,
from picking to clipping.
Matthias Clasen [Wed, 2 Sep 2020 19:47:40 +0000 (19:47 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3109 and #3112
See merge request GNOME/gtk!2522
Matthias Clasen [Wed, 2 Sep 2020 03:23:42 +0000 (23:23 -0400)]
Fix picking
My previous change here was too hasty - this code is not
actually transforming points - it is just a convoluted
way to transform the z axis from child coordinates to
the parent.
Matthias Clasen [Wed, 2 Sep 2020 14:26:13 +0000 (10:26 -0400)]
text widgets: Don't lose focus after Emoji
Make sure to grab focus back when the Emoji chooser
disappears. This prevents focus going nowhere when
the Emoji chooser is canceled.
Fixes: #3112
Matthias Clasen [Wed, 2 Sep 2020 12:04:15 +0000 (08:04 -0400)]
textview: Fix placement of Emoji chooser
If the selection extends beyond the visible range,
place the Emoji chooser over the center of the window.
Fixes: #3109
Matthias Clasen [Tue, 1 Sep 2020 17:15:06 +0000 (13:15 -0400)]
NEWS: Updates
Emin Tufan Çetin [Wed, 2 Sep 2020 18:26:15 +0000 (18:26 +0000)]
Update Turkish translation
Mario Blättermann [Wed, 2 Sep 2020 17:14:28 +0000 (17:14 +0000)]
Update German translation
Carlos Garnacho [Wed, 2 Sep 2020 11:11:54 +0000 (11:11 +0000)]
Merge branch 'gesture-nullable-sequence' into 'master'
Annotate sequence argument of GtkGesture signals as nullable
See merge request GNOME/gtk!2520
Sebastian Dröge [Wed, 2 Sep 2020 10:32:20 +0000 (13:32 +0300)]
Annotate sequence argument of GtkGesture signals as nullable
Matthias Clasen [Tue, 1 Sep 2020 23:06:01 +0000 (19:06 -0400)]
README: Cosmetics
Matthias Clasen [Tue, 1 Sep 2020 22:15:33 +0000 (22:15 +0000)]
Merge branch 'checkbutton-fixes' into 'master'
Checkbutton fixes
See merge request GNOME/gtk!2518
Goran Vidović [Tue, 1 Sep 2020 21:14:00 +0000 (21:14 +0000)]
Update Croatian translation
Matthias Clasen [Tue, 1 Sep 2020 20:31:07 +0000 (16:31 -0400)]
checkbutton: Don't notify write-only properties
Nobody is listening...
Matthias Clasen [Tue, 1 Sep 2020 19:57:14 +0000 (15:57 -0400)]
action helper: Drop G_GNUC_INTERNAL from headers
We haven't needed this for a long time now.
Matthias Clasen [Tue, 1 Sep 2020 19:31:24 +0000 (15:31 -0400)]
Add docs about grouping via action
Mention this in the docs for gtk_check_button_set_group
and gtk_toggle_button_set_group.
Matthias Clasen [Tue, 1 Sep 2020 19:25:26 +0000 (15:25 -0400)]
checkbutton: Support GtkActionable properly
Support grouping buttons via a radio action, as well
as via explicit gtk_check_button_set_group() calls.
Matthias Clasen [Tue, 1 Sep 2020 19:48:10 +0000 (15:48 -0400)]
actionhelper: Add a getter
Add a getter for the GtkActionHelper:role property.
Aurimas Černius [Tue, 1 Sep 2020 19:45:16 +0000 (22:45 +0300)]
Updated Lithuanian translation
Matthias Clasen [Tue, 1 Sep 2020 19:24:34 +0000 (15:24 -0400)]
checkbutton: Don't leak the action helper
Fran Dieguez [Tue, 1 Sep 2020 19:08:43 +0000 (19:08 +0000)]
Update Galician translation
Matthias Clasen [Tue, 1 Sep 2020 18:58:52 +0000 (18:58 +0000)]
Merge branch 'license-clarification' into 'master'
License clarification
See merge request GNOME/gtk!2517
Matthias Clasen [Tue, 1 Sep 2020 18:26:21 +0000 (18:26 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3107
See merge request GNOME/gtk!2516
Matthias Clasen [Tue, 1 Sep 2020 18:11:28 +0000 (14:11 -0400)]
Add a license clarification
Matthias Clasen [Tue, 1 Sep 2020 18:22:09 +0000 (14:22 -0400)]
Move timsort sources to a subdirectory
This makes it easier to identify the files that
belong together, and are under the same license.
Matthias Clasen [Tue, 1 Sep 2020 17:06:20 +0000 (13:06 -0400)]
inspector: Plug another memory leak
Fixes: #3107
Matthias Clasen [Tue, 1 Sep 2020 17:01:34 +0000 (13:01 -0400)]
treelistrowsorter: Plug a memory leak
Matthias Clasen [Tue, 1 Sep 2020 16:56:51 +0000 (12:56 -0400)]
inspector: Plug a small memory leak
Benjamin Otte [Tue, 1 Sep 2020 16:42:09 +0000 (16:42 +0000)]
Merge branch 'listview-constructors' into 'master'
list widgets: Simplify the constructors
See merge request GNOME/gtk!2515
Matthias Clasen [Tue, 1 Sep 2020 16:24:06 +0000 (12:24 -0400)]
list widgets: Simplify the constructors
Now that both arguments to the _new_with_factory() constructors
are nullable, there's no good reason to keep a separate _new()
around. Just make gtk_list_view_new() and gtk_grid_view_new()
take both a model and a factory.
Matthias Clasen [Tue, 1 Sep 2020 13:44:38 +0000 (13:44 +0000)]
Merge branch 'projective-transform' into 'master'
Replace uses of graphene_matrix_transform_
See merge request GNOME/gtk!2514
Matthias Clasen [Tue, 1 Sep 2020 12:54:01 +0000 (08:54 -0400)]
Replace uses of graphene_matrix_transform_
Replace our uses of graphene_matrix_transform_point,
_point3d and _bounds by our own versions that handle
projective transforms correctly.
This fixes render node bounds being incorrect for widgets
involving projective transforms (e.g. testrevealer swing
transformations), and also fixes picking on such widgets.
Matthias Clasen [Tue, 1 Sep 2020 12:36:45 +0000 (08:36 -0400)]
gsk: Add some private transform apis
Some of the graphene_matrix_transform apis don't work
correctly with projective matrices, so add our own
variants.
Asier Sarasua Garmendia [Tue, 1 Sep 2020 12:21:34 +0000 (12:21 +0000)]
Update Basque translation
Benjamin Otte [Tue, 1 Sep 2020 11:08:51 +0000 (11:08 +0000)]
Merge branch 'view-selection-model-3' into 'master'
list widgets: Use selection models in the api
See merge request GNOME/gtk!2512
Daniel Mustieles [Tue, 1 Sep 2020 09:05:08 +0000 (11:05 +0200)]
Updated Spanish translation
Matthias Clasen [Mon, 31 Aug 2020 21:17:21 +0000 (21:17 +0000)]
Merge branch 'adwaita-more-border-spacing' into 'master'
Adwaita: Add border-spacing to some container widgets and style classes (properly)
See merge request GNOME/gtk!2479
Matthias Clasen [Mon, 31 Aug 2020 21:06:48 +0000 (17:06 -0400)]
list widgets: Use selection models in the api
Change the apis in GtkListView, GtkColumnView and
GtkGridView to be explicitly about GtkSelectionModel,
to make it obvious that the widgets handle selection.
Update all users.
Matej Urbančič [Mon, 31 Aug 2020 19:53:05 +0000 (21:53 +0200)]
Updated Slovenian translation
Matej Urbančič [Mon, 31 Aug 2020 19:50:01 +0000 (21:50 +0200)]
Updated Slovenian translation
Matthias Clasen [Mon, 31 Aug 2020 17:37:52 +0000 (13:37 -0400)]
NEWS: Updates
Matthias Clasen [Mon, 31 Aug 2020 16:30:21 +0000 (16:30 +0000)]
Merge branch 'wip/baedert/for-master' into 'master'
Wip/baedert/for master
Closes #2777
See merge request GNOME/gtk!2503
Matthias Clasen [Mon, 31 Aug 2020 16:17:05 +0000 (16:17 +0000)]
Merge branch 'fix_resource_leak_in_gdkdisplayclose_gtk4' into 'master'
Fix resource leak in gdk_display_close() under Wayland
See merge request GNOME/gtk!2511
Matthias Clasen [Mon, 31 Aug 2020 16:05:53 +0000 (12:05 -0400)]
pagesetupdialog: Just use labels in check buttons
Check buttons lost their ability to hold general
content. And while that is maybe sad, the tiny
images here are not really useful anyway, and
should just go away.
Julien Ropé [Mon, 31 Aug 2020 15:26:18 +0000 (17:26 +0200)]
Fix resource leak in gdk_display_close() under Wayland
When using the gdk_display_close(), the handle to the Wayland compositor was not released. This could cause the consumption of all available handles, preventing other processes from accessing the display.
Fixing this by calling wl_display_disconnect() when releasing the GdkWaylandDisplay object.
Signed-off-by: Julien Ropé <jrope@redhat.com>
Matthias Clasen [Mon, 31 Aug 2020 14:50:14 +0000 (10:50 -0400)]
Fix a typo
sicklylife [Mon, 31 Aug 2020 14:36:14 +0000 (14:36 +0000)]
Update Japanese translation
sicklylife [Mon, 31 Aug 2020 14:30:59 +0000 (14:30 +0000)]
Update Japanese translation
Boyuan Yang [Mon, 31 Aug 2020 13:44:27 +0000 (13:44 +0000)]
Update Chinese (China) translation
Matthias Clasen [Mon, 31 Aug 2020 12:20:25 +0000 (08:20 -0400)]
Fix up the focus-chain tests
Several typos here, and some of the expected
output changes due to widget class changes.
Matthias Clasen [Mon, 31 Aug 2020 12:13:20 +0000 (08:13 -0400)]
doc shooter: Remove radio button remnants
Rafael Fontenelle [Mon, 31 Aug 2020 11:12:54 +0000 (11:12 +0000)]
Update Brazilian Portuguese translation
Jakub Steiner [Mon, 31 Aug 2020 09:27:29 +0000 (11:27 +0200)]
Merge branch 'nana-4/gtk-fix-circular-button-styling'
nana-4 [Fri, 28 Aug 2020 12:56:30 +0000 (21:56 +0900)]
Adwaita: Ensure button.circular is a perfect circle
It seems the commit
9d60047616661dc073ca6310193c2e18a3aaa59c had no
effect, even on image buttons.